package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.zcf.common.json.Body;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouzhuang
 * @since 2018-11-28
 */
public class Dining extends Model<Dining> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id")
	private String id;
	private String phone;
	private String diningName;
	private String address;
	private Integer sums;
	/**
	 * 运费
	 */
	private Double freight;
	/**
	 * 餐盒费
	 */
	private Double box;
	private Double delivery;
	private String largeId;
	private Integer counts;
	// 经度
	private String longitude;

	// 纬度
	private String latitude;
	// 位置
	private String position;

	private String userId;
	@TableField(exist = false)
	private List<Product> product;

	@TableField(exist = false)
	private List<Classs> classses;

	@TableField(exist = false)
	private Double distance;
	@TableField(exist = false)
	private String wlx;

	@TableField(exist = false)
	private Body shoppings;
	@TableField(exist = false)
	private String proportion;
	@TableField(exist = false)
	private String concent;
	private String addtime;

	public String getConcent() {
		return concent;
	}

	public void setConcent(String concent) {
		this.concent = concent;
	}

	public String getProportion() {
		return proportion;
	}

	public void setProportion(String proportion) {
		this.proportion = proportion;
	}

	public Integer getCounts() {
		return counts;
	}

	public void setCounts(Integer counts) {
		this.counts = counts;
	}

	public String getAddtime() {
		return addtime;
	}

	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}

	public Body getShoppings() {
		return shoppings;
	}

	public String getWlx() {
		return wlx;
	}

	public void setWlx(String wlx) {
		this.wlx = wlx;
	}

	public void setShoppings(Body shoppings2) {
		this.shoppings = shoppings2;
	}

	public String getLargeId() {
		return largeId;
	}

	public void setLargeId(String largeId) {
		this.largeId = largeId;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Double getDelivery() {
		return delivery;
	}

	public void setDelivery(Double delivery) {
		this.delivery = delivery;
	}

	public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

	public Integer getSums() {
		return sums;
	}

	public void setSums(Integer sums) {
		this.sums = sums;
	}

	public List<Classs> getClassses() {
		return classses;
	}

	public void setClassses(List<Classs> classses) {
		this.classses = classses;
	}

	public List<Product> getProduct() {
		return product;
	}

	public void setProduct(List<Product> list) {
		this.product = list;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public Double getFreight() {
		return freight;
	}

	public void setFreight(Double freight) {
		this.freight = freight;
	}

	public Double getBox() {
		return box;
	}

	public void setBox(Double box) {
		this.box = box;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	/**
	 * 简介
	 */
	private String diningIntro;
	@TableField(exist = false)
	private int types;

	public void setDiningIntro(String diningIntro) {
		this.diningIntro = diningIntro;
	}

	public int getTypes() {
		return types;
	}

	public void setTypes(int types) {
		this.types = types;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * 标签
	 */
	private String diningTag;
	/**
	 * 评分
	 */
	private String grade;
	/**
	 * logo
	 */
	private String logo;
	/**
	 * 背景图
	 */
	private String image;
	/**
	 * 店铺类型
	 */
	private String type;
	/**
	 * 1：营业，0：暂停
	 */
	private Integer status;
	private String time;
	/**
	 * 备用
	 */
	private String notice;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getDiningName() {
		return diningName;
	}

	public void setDiningName(String diningName) {
		this.diningName = diningName;
	}

	public String getDiningIntro() {
		return diningIntro;
	}

	public void Box(String diningIntro) {
		this.diningIntro = diningIntro;
	}

	public String getDiningTag() {
		return diningTag;
	}

	public void setDiningTag(String diningTag) {
		this.diningTag = diningTag;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getNotice() {
		return notice;
	}

	public void setNotice(String notice) {
		this.notice = notice;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Dining{" + "id=" + id + ", phone=" + phone + ", diningName=" + diningName + ", diningIntro="
				+ diningIntro + ", diningTag=" + diningTag + ", grade=" + grade + ", address=" + address + ", logo="
				+ logo + ", image=" + image + ", type=" + type + ", status=" + status + ", time=" + time + ", notice="
				+ notice + "}";
	}
}
